#include "widget.h"
#include "ui_widget.h"
#include <QGraphicsDropShadowEffect>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

/*
    QGraphicsDropShadowEffect *shadoweffect = new QGraphicsDropShadowEffect;    //部件阴影效果
    shadoweffect->setColor(QColor(235,238,242));    //阴影色, 透明度
    shadoweffect->setBlurRadius(40);                //阴影模糊半径
    shadoweffect->setOffset(2);                     //阴影偏移
    ui->recordBtn->setGraphicsEffect(shadoweffect);
*/
}

Widget::~Widget()
{
    delete ui;
}

